check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
times(x, y) → timesIter(x, y, 0)
timesIter(x, y, z) → if(check(x), x, y, z, plus(z, y))
p(s(x)) → x
p(0) → 0
if(zero, x, y, z, u) → z
if(odd, x, y, z, u) → timesIter(p(x), y, u)
if(even, x, y, z, u) → plus(timesIter(half(x), y, half(z)), timesIter(half(x), y, half(s(z))))
↳ QTRS
↳ Overlay + Local Confluence
check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
times(x, y) → timesIter(x, y, 0)
timesIter(x, y, z) → if(check(x), x, y, z, plus(z, y))
p(s(x)) → x
p(0) → 0
if(zero, x, y, z, u) → z
if(odd, x, y, z, u) → timesIter(p(x), y, u)
if(even, x, y, z, u) → plus(timesIter(half(x), y, half(z)), timesIter(half(x), y, half(s(z))))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
times(x, y) → timesIter(x, y, 0)
timesIter(x, y, z) → if(check(x), x, y, z, plus(z, y))
p(s(x)) → x
p(0) → 0
if(zero, x, y, z, u) → z
if(odd, x, y, z, u) → timesIter(p(x), y, u)
if(even, x, y, z, u) → plus(timesIter(half(x), y, half(z)), timesIter(half(x), y, half(s(z))))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
IF(odd, x, y, z, u) → P(x)
HALF(s(s(x))) → HALF(x)
IF(even, x, y, z, u) → HALF(z)
IF(odd, x, y, z, u) → TIMESITER(p(x), y, u)
TIMESITER(x, y, z) → IF(check(x), x, y, z, plus(z, y))
TIMESITER(x, y, z) → PLUS(z, y)
IF(even, x, y, z, u) → PLUS(timesIter(half(x), y, half(z)), timesIter(half(x), y, half(s(z))))
IF(even, x, y, z, u) → HALF(x)
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(s(z)))
TIMES(x, y) → TIMESITER(x, y, 0)
IF(even, x, y, z, u) → HALF(s(z))
TIMESITER(x, y, z) → CHECK(x)
CHECK(s(s(s(x)))) → CHECK(s(x))
PLUS(s(x), y) → PLUS(x, y)
check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
times(x, y) → timesIter(x, y, 0)
timesIter(x, y, z) → if(check(x), x, y, z, plus(z, y))
p(s(x)) → x
p(0) → 0
if(zero, x, y, z, u) → z
if(odd, x, y, z, u) → timesIter(p(x), y, u)
if(even, x, y, z, u) → plus(timesIter(half(x), y, half(z)), timesIter(half(x), y, half(s(z))))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
IF(odd, x, y, z, u) → P(x)
HALF(s(s(x))) → HALF(x)
IF(even, x, y, z, u) → HALF(z)
IF(odd, x, y, z, u) → TIMESITER(p(x), y, u)
TIMESITER(x, y, z) → IF(check(x), x, y, z, plus(z, y))
TIMESITER(x, y, z) → PLUS(z, y)
IF(even, x, y, z, u) → PLUS(timesIter(half(x), y, half(z)), timesIter(half(x), y, half(s(z))))
IF(even, x, y, z, u) → HALF(x)
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(s(z)))
TIMES(x, y) → TIMESITER(x, y, 0)
IF(even, x, y, z, u) → HALF(s(z))
TIMESITER(x, y, z) → CHECK(x)
CHECK(s(s(s(x)))) → CHECK(s(x))
PLUS(s(x), y) → PLUS(x, y)
check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
times(x, y) → timesIter(x, y, 0)
timesIter(x, y, z) → if(check(x), x, y, z, plus(z, y))
p(s(x)) → x
p(0) → 0
if(zero, x, y, z, u) → z
if(odd, x, y, z, u) → timesIter(p(x), y, u)
if(even, x, y, z, u) → plus(timesIter(half(x), y, half(z)), timesIter(half(x), y, half(s(z))))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
PLUS(s(x), y) → PLUS(x, y)
check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
times(x, y) → timesIter(x, y, 0)
timesIter(x, y, z) → if(check(x), x, y, z, plus(z, y))
p(s(x)) → x
p(0) → 0
if(zero, x, y, z, u) → z
if(odd, x, y, z, u) → timesIter(p(x), y, u)
if(even, x, y, z, u) → plus(timesIter(half(x), y, half(z)), timesIter(half(x), y, half(s(z))))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
↳ QDP
PLUS(s(x), y) → PLUS(x, y)
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
PLUS(s(x), y) → PLUS(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
HALF(s(s(x))) → HALF(x)
check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
times(x, y) → timesIter(x, y, 0)
timesIter(x, y, z) → if(check(x), x, y, z, plus(z, y))
p(s(x)) → x
p(0) → 0
if(zero, x, y, z, u) → z
if(odd, x, y, z, u) → timesIter(p(x), y, u)
if(even, x, y, z, u) → plus(timesIter(half(x), y, half(z)), timesIter(half(x), y, half(s(z))))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDP
HALF(s(s(x))) → HALF(x)
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
HALF(s(s(x))) → HALF(x)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
CHECK(s(s(s(x)))) → CHECK(s(x))
check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
times(x, y) → timesIter(x, y, 0)
timesIter(x, y, z) → if(check(x), x, y, z, plus(z, y))
p(s(x)) → x
p(0) → 0
if(zero, x, y, z, u) → z
if(odd, x, y, z, u) → timesIter(p(x), y, u)
if(even, x, y, z, u) → plus(timesIter(half(x), y, half(z)), timesIter(half(x), y, half(s(z))))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
CHECK(s(s(s(x)))) → CHECK(s(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
CHECK(s(s(s(x)))) → CHECK(s(x))
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(s(z)))
IF(odd, x, y, z, u) → TIMESITER(p(x), y, u)
TIMESITER(x, y, z) → IF(check(x), x, y, z, plus(z, y))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
times(x, y) → timesIter(x, y, 0)
timesIter(x, y, z) → if(check(x), x, y, z, plus(z, y))
p(s(x)) → x
p(0) → 0
if(zero, x, y, z, u) → z
if(odd, x, y, z, u) → timesIter(p(x), y, u)
if(even, x, y, z, u) → plus(timesIter(half(x), y, half(z)), timesIter(half(x), y, half(s(z))))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(s(z)))
IF(odd, x, y, z, u) → TIMESITER(p(x), y, u)
TIMESITER(x, y, z) → IF(check(x), x, y, z, plus(z, y))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
p(s(x)) → x
p(0) → 0
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
times(x0, x1)
timesIter(x0, x1, x2)
p(s(x0))
p(0)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
times(x0, x1)
timesIter(x0, x1, x2)
if(zero, x0, x1, x2, x3)
if(odd, x0, x1, x2, x3)
if(even, x0, x1, x2, x3)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(s(z)))
IF(odd, x, y, z, u) → TIMESITER(p(x), y, u)
TIMESITER(x, y, z) → IF(check(x), x, y, z, plus(z, y))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
p(s(x)) → x
p(0) → 0
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
p(s(x0))
p(0)
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
TIMESITER(0, y1, y2) → IF(zero, 0, y1, y2, plus(y2, y1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(s(z)))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
IF(odd, x, y, z, u) → TIMESITER(p(x), y, u)
TIMESITER(0, y1, y2) → IF(zero, 0, y1, y2, plus(y2, y1))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
p(s(x)) → x
p(0) → 0
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
p(s(x0))
p(0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(s(z)))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
IF(odd, x, y, z, u) → TIMESITER(p(x), y, u)
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
check(0) → zero
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
p(s(x)) → x
p(0) → 0
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
p(s(x0))
p(0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(s(z)))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
IF(odd, x, y, z, u) → TIMESITER(p(x), y, u)
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
p(s(x)) → x
p(0) → 0
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
p(s(x0))
p(0)
IF(odd, 0, y1, y2, y3) → TIMESITER(0, y1, y3)
IF(odd, s(x0), y1, y2, y3) → TIMESITER(x0, y1, y3)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
IF(odd, 0, y1, y2, y3) → TIMESITER(0, y1, y3)
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(s(z)))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(odd, s(x0), y1, y2, y3) → TIMESITER(x0, y1, y3)
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
p(s(x)) → x
p(0) → 0
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
p(s(x0))
p(0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(s(z)))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(odd, s(x0), y1, y2, y3) → TIMESITER(x0, y1, y3)
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
p(s(x)) → x
p(0) → 0
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
p(s(x0))
p(0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(s(z)))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(odd, s(x0), y1, y2, y3) → TIMESITER(x0, y1, y3)
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
p(s(x0))
p(0)
p(s(x0))
p(0)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(s(z)))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(odd, s(x0), y1, y2, y3) → TIMESITER(x0, y1, y3)
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(s(y2)))
IF(even, s(0), y1, y2, y3) → TIMESITER(0, y1, half(s(y2)))
IF(even, 0, y1, y2, y3) → TIMESITER(0, y1, half(s(y2)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(s(y2)))
IF(even, 0, y1, y2, y3) → TIMESITER(0, y1, half(s(y2)))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(even, s(0), y1, y2, y3) → TIMESITER(0, y1, half(s(y2)))
IF(odd, s(x0), y1, y2, y3) → TIMESITER(x0, y1, y3)
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(s(y2)))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(odd, s(x0), y1, y2, y3) → TIMESITER(x0, y1, y3)
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
IF(even, x, y, z, u) → TIMESITER(half(x), y, half(z))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(y2))
IF(even, s(0), y1, y2, y3) → TIMESITER(0, y1, half(y2))
IF(even, 0, y1, y2, y3) → TIMESITER(0, y1, half(y2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(s(y2)))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
IF(even, 0, y1, y2, y3) → TIMESITER(0, y1, half(y2))
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(y2))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(odd, s(x0), y1, y2, y3) → TIMESITER(x0, y1, y3)
IF(even, s(0), y1, y2, y3) → TIMESITER(0, y1, half(y2))
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(s(y2)))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(y2))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(odd, s(x0), y1, y2, y3) → TIMESITER(x0, y1, y3)
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
IF(odd, s(0), z0, z1, y_0) → TIMESITER(0, z0, y_0)
IF(odd, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(s(z0)), z1, y_1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(s(y2)))
TIMESITER(s(0), y1, y2) → IF(odd, s(0), y1, y2, plus(y2, y1))
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(y2))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(odd, s(0), z0, z1, y_0) → TIMESITER(0, z0, y_0)
IF(odd, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(s(z0)), z1, y_1)
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(s(y2)))
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(y2))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(odd, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(s(z0)), z1, y_1)
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
IF(even, s(s(0)), z0, z1, y_0) → TIMESITER(s(half(0)), z0, half(s(z1)))
IF(even, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(half(s(z0))), z1, half(s(z2)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
IF(even, s(s(0)), z0, z1, y_0) → TIMESITER(s(half(0)), z0, half(s(z1)))
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(y2))
IF(even, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(half(s(z0))), z1, half(s(z2)))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
IF(odd, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(s(z0)), z1, y_1)
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
IF(even, s(s(0)), z0, z1, y_0) → TIMESITER(s(0), z0, half(s(z1)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
IF(even, s(s(0)), z0, z1, y_0) → TIMESITER(s(0), z0, half(s(z1)))
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(y2))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(even, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(half(s(z0))), z1, half(s(z2)))
IF(odd, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(s(z0)), z1, y_1)
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
IF(even, s(s(x0)), y1, y2, y3) → TIMESITER(s(half(x0)), y1, half(y2))
IF(even, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(half(s(z0))), z1, half(s(z2)))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
IF(odd, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(s(z0)), z1, y_1)
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
IF(even, s(s(s(0))), y1, y2, y3) → TIMESITER(s(0), y1, half(y2))
IF(even, s(s(0)), y1, y2, y3) → TIMESITER(s(0), y1, half(y2))
IF(even, s(s(s(s(x0)))), y1, y2, y3) → TIMESITER(s(s(half(x0))), y1, half(y2))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
IF(even, s(s(s(s(x0)))), y1, y2, y3) → TIMESITER(s(s(half(x0))), y1, half(y2))
IF(even, s(s(s(0))), y1, y2, y3) → TIMESITER(s(0), y1, half(y2))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(even, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(half(s(z0))), z1, half(s(z2)))
IF(even, s(s(0)), y1, y2, y3) → TIMESITER(s(0), y1, half(y2))
IF(odd, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(s(z0)), z1, y_1)
TIMESITER(s(s(0)), y1, y2) → IF(even, s(s(0)), y1, y2, plus(y2, y1))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
IF(even, s(s(s(s(x0)))), y1, y2, y3) → TIMESITER(s(s(half(x0))), y1, half(y2))
IF(even, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(half(s(z0))), z1, half(s(z2)))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(odd, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(s(z0)), z1, y_1)
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
IF(odd, s(s(s(s(y_0)))), x1, x2, x3) → TIMESITER(s(s(s(y_0))), x1, x3)
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ QDPOrderProof
IF(odd, s(s(s(s(y_0)))), x1, x2, x3) → TIMESITER(s(s(s(y_0))), x1, x3)
IF(even, s(s(s(s(x0)))), y1, y2, y3) → TIMESITER(s(s(half(x0))), y1, half(y2))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(even, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(half(s(z0))), z1, half(s(z2)))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
IF(odd, s(s(s(s(y_0)))), x1, x2, x3) → TIMESITER(s(s(s(y_0))), x1, x3)
IF(even, s(s(s(s(x0)))), y1, y2, y3) → TIMESITER(s(s(half(x0))), y1, half(y2))
Used ordering: Polynomial interpretation [25]:
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
IF(even, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(half(s(z0))), z1, half(s(z2)))
POL(0) = 0
POL(IF(x1, x2, x3, x4, x5)) = 1 + x2
POL(TIMESITER(x1, x2, x3)) = 1 + x1
POL(check(x1)) = 0
POL(even) = 0
POL(half(x1)) = 1 + x1
POL(odd) = 0
POL(plus(x1, x2)) = 0
POL(s(x1)) = 1 + x1
half(s(s(x))) → s(half(x))
half(s(0)) → 0
half(0) → 0
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
IF(even, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(half(s(z0))), z1, half(s(z2)))
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
IF(even, s(s(s(z0))), z1, z2, y_1) → TIMESITER(s(half(s(z0))), z1, half(s(z2)))
Used ordering: Polynomial interpretation [25]:
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
POL(0) = 0
POL(IF(x1, x2, x3, x4, x5)) = 1 + x2
POL(TIMESITER(x1, x2, x3)) = 1 + x1
POL(check(x1)) = 0
POL(even) = 0
POL(half(x1)) = x1
POL(odd) = 0
POL(plus(x1, x2)) = 0
POL(s(x1)) = 1 + x1
half(s(s(x))) → s(half(x))
half(s(0)) → 0
half(0) → 0
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Instantiation
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
TIMESITER(s(s(s(x0))), y1, y2) → IF(check(s(x0)), s(s(s(x0))), y1, y2, plus(y2, y1))
check(s(0)) → odd
check(s(s(0))) → even
check(s(s(s(x)))) → check(s(x))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
check(0)
check(s(0))
check(s(s(0)))
check(s(s(s(x0))))
half(0)
half(s(0))
half(s(s(x0)))
plus(0, x0)
plus(s(x0), x1)